<#include 'member_header.html' />
<!-- 获得会员申请退货、换货列表标签 -->
<#assign sellBackListTag = newTag("sellBackListTag")>
<!-- 调用会员申请退货、换货列表标签 -->
<#assign result = sellBackListTag()>

<div class="data">
	<h2>申请退货</h2>
</div>	

<!--温馨提示-->
<div class="tip">
	<div class="top"></div>
	<div class="body">
		<@image src="${ctx}/themes/default/images/gth.jpg"/>
	
		<div>
			<h2>温馨提示</h2>
			<p>1、这里会显示您更多的订单</p>
			<p>2、您还可以查看申请列表、申请退货等操作。</p>
		</div>
	</div>
	<div class="bottom"></div>
</div>
<!--温馨提示结束-->
<div class="tab">
	<ul >
		<li class="selected"><a href="return_list.html?action=list"><span>申请列表</span></a></li>
	</ul>
</div>
<div class="box">
	<div class="top"></div>
	<div class="body">
		<#if result?size gt 0 >
			<table cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<th class="date">申请时间</th>
					<th class="orderId">订单号</th>
					<th class="status">状态</th>
					<th class="oper">操作</th>
				</tr>
				<#list result.resultList as sellback>
					<tr class="hovertr">
					    <td class="date">
					    	<@dateformat time="${ sellback.regtime?c}" pattern="yyyy-MM-dd HH:mm"/>
					    </td>
					    <td class="orderId">
					    	${sellback.ordersn!'' }
					    </td>
					    <td class="status">
						    <#if sellback.tradestatus  == 0>
						    	<span>申请退货</span>
							<#elseif sellback.tradestatus  == 1>
								<span>审核通过</span>
							<#elseif sellback.tradestatus  == 2>
								<span>已入库</span>
							<#elseif sellback.tradestatus  == 3>
								<span>已完成</span>
							<#elseif sellback.tradestatus  == 4>
								<span>已拒绝</span>
							<#elseif sellback.tradestatus  == 5>
								<span>部分入库</span>
							</#if>
					    </td>
					    <td class="oper">
					    	<a href="return_detail.html?id=${sellback.id}&sn=${sellback.ordersn}">查看</a>
					    </td>
				    </tr>
				</#list>
			</table>
			<div class="pager_border">
				<@pager pageno="${result.page}" pagesize="${result.pageSize}" totalcount="${result.totalCount}" />
				<div class="clear"></div>
			</div>
		<#else>
			<div class="empty" >您目前还没有申请退换</div>
		</#if>
	</div>
	<div class="bottom"></div>
</div>
<div class="clear"></div>
<div class="helper">
	<h2>小贴士</h2>
	<ul>
		<li><a href="help-23-14.html" target="_blank">我怎么进行退换货？</a></li>
	</ul>
</div>
<div class="rr_bottom"></div></div>
	<!--会员中心首页右侧结束-->
</div>
<#include '../common/footer.html'/>